class Father:
    def print1(self):
        print('father class')

class Child(Father):
    def print1(self):
        print('child class')
        super().print1()

Child().print1()
print('---------------------')
Father().print1()